* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
// html{
    // font-size: 100px;
// }
.clearfix:after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}

img {
    width: 100%;
    display: block;
}

input {
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

i {
    font-style: normal;
}

ul {
    list-style: none;
}

body {
    // background-color: #6;
}

.off {
    display: none;
}

header {
    height: .7rem;
    width: 100%;
    background-color: #ff8b00;
    display: flex;
    align-items: center;
    .back {
        display: block;
        width: .4rem;
        height: .4rem;
        background-image: url("../images/back.png");
        background-repeat: no-repeat;
        margin-left: .05rem;
        background-position: center center;
    }
    .tlt {
        flex: 1;
        text-align: center;
        h3 {
            color: white;
            font-size: .3rem;
        }
    }
}

/* 选择 */

.selector {
    width: 100%;
    height: 0.6rem; // background-color: yellow;
    background-color: aqua;
    display: flex;
    .allSelect {
        display: flex;
        width: 100%;
        justify-content: center;
        align-content: center; // flex-wrap: wrap;
        position: relative;
        .dorpdown {
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            align-content: space-between;
            li {
                display: flex;
                flex: 1;
                height: 0.6rem;
                justify-content: center;
                align-self: center;
                /* &::after {
                    content: "";
                    width: 0.2rem;
                    height: 0.2rem;
                    margin-top: 0.08rem;
                    margin-left: 0.05rem; // background-color: #ccc;
                    background-image: url("../images/dropdown.png");
                    background-size: 0.2rem 0.2rem;
                } */
                a {
                    text-align: center;
                    font-size: 0.25rem;
                    align-self: center;
                }
                i {
                    display: inline-block;
                    vertical-align: middle;
                    font-size: .35rem;
                    margin-top: .16rem;
                    padding-left: .05rem;
                }
            }
        }
    }
    .search {
        display: flex;
        justify-content: center;
        width: 0.8rem;
        height: 0.6rem;
        align-items: center;
        border-left: 1px solid #333;
        i {
            width: 0.4rem;
            height: 0.4rem;
            font-size: .4rem;
            font-weight: lighter;
        }
    }
    .drop {
        .popbox {
            position: absolute;
            left: 0;
            top: .62rem;
            width: 100%;
            display: none;
            .sort,
            .price,
            .cat {
                li {
                    font-size: .25rem;
                    width: 100%;
                    height: 0.5rem;
                    background-color: #fff;
                    padding: 0 .2rem;
                    border-bottom: 1px solid #dedede;
                    &:last-child {
                        border: none;
                    }
                    a {
                        line-height: .5rem;
                    }
                    span.fa {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        // background-color: yellow;
                        margin-top: .1rem;
                        float: right;
                        color: orange;
                    }
                }
                li.active{
                    span.fa {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        // background-color: yellow;
                        margin-top: .1rem;
                        float: right;
                        color: orange;
                    }
                }
            }
        }
        .on {
            display: block
        }
    }
    .drop_search {
        width: 100%;
        position: absolute;
        left: 0;
        top: .62rem;
        width: 100%;
        padding: .4rem .2rem;
        background-color: #f1e8e8;
        display: none;
        .top {
            display: flex;
            position: relative;
            i {
                display: block;
                width: 0.6rem;
                height: 0.6rem; // background-color: yellow;
                position: absolute;
                left: 0;
                z-index: 100;
                font-size: .3rem;
                color: #ccc;
                text-align: center;
                line-height: .6rem;
            }
            input {
                flex: 1;
                border: 1px solid aqua;
                position: relative;
                text-indent: .65rem;
            }
            a {
                display: block;
                width: 0.8rem;
                height: 0.6rem;
                font-size: .25rem;
                text-align: center;
                line-height: 0.6rem; // background-color: #ccc;
            }
        }
        .center {
            margin-top: .3rem;
            padding-bottom: .3rem;
            border-bottom: 1px solid #dcdcdc;
            h3 {
                font-size: .25rem;
                font-weight: 500;
            }
            ul {
                margin-top: .2rem;
                li {
                    float: left;
                    height: 0.5rem;
                    width: 1.3rem;
                    border: 1px solid #dedede;
                    margin: .1rem 0.1rem; // margin-bottom: .1rem;
                    &:first-child {
                        margin: 0.1rem 0;
                    }
                    &:nth-child(5) {
                        margin: 0.1rem 0;
                    }
                    a {
                        font-size: .22rem;
                        display: block;
                        text-align: center;
                        line-height: .5rem; // color: #fff;
                        i {
                            padding-left: .05rem;
                        }
                    }
                    a.click {
                        background-color: orange;
                        color: #fff;
                    }
                }
            }
        }
    }
}

/* 内容 */

.content {
    display: flex;
    flex-wrap: wrap; // padding: .14rem;
    padding: .15rem;
    justify-content: space-between;
    
    .item {
        width: 49%;
        background-color: #fff;
        margin-bottom: .15rem;
        box-shadow: 0px 3px 3px 0px #ddd;
        a {
            display: block;
            margin:.04rem;
            font-size: .2rem;
            p {
                font-size: .18rem;
                // padding-bottom: .3rem;
                padding: .1rem;
            }
            span {
                font-size: .26rem;
                // width: 100%;
                display: inline-block;
                // height: 0.3rem;
                color: orange;
            }
        }
    }
}